package com.example.model;

import java.io.Serializable;
import java.util.List;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by Chenjie on 2017/7/4.
 */
@Document
public class ClassRoom implements Serializable {
    @Id
    private ObjectId roomId;

    private String name;
    private List<ObjectId> userIds;

    public ObjectId getRoomId() {
        return roomId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ObjectId> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<ObjectId> userIds) {
        this.userIds = userIds;
    }
}
